<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>
<script>
  export default {
        name: 'app',
        components: {},
        methods:{
            
        },
        mounted(){
            // console.log(this.$$ajax);
        },
        watch:{
            $route(to,from){
                // console.log(to);
                if (!to.matched.length) {
                    this.$router.push('/404');
                }
            }
        }
    }
</script>

<style>
  @import "../static/css/main.css";
  @import "../static/css/color-dark.css"; 
</style>
